import { AudioClip, Prefab, SpriteFrame } from "cc";

export enum ENUM_UI_LAYER {
    MENU = 'MenuLayer',
    MAIN = 'MainLayer',
    SETTING = 'SettingLayer',
    EXIT = 'ExitLayer',
    RANK = 'RankLayer',
    AUTH = 'AuthLayer',
    LOSE = 'LoseLayer',
    WIN = 'WinLayer',
    ANSWER = 'AnswerLayer'
}

export enum ENUM_AUDIO_CLIP {
    BGM = 'bgm',
    CLICK = 'click',
    UNCLICK = 'unclick',
    WIN = 'win',
    LOSE = 'lose',
    SCIN = 'scin',
    SCOUT = 'scout',
    WOO = 'woo',
    SKILL_REMOVE = 'skill_remove'
}

export enum ENUM_GAME_STATUS {
    UNACTIVE = 'unactive',
    ACTIVE = 'active'
}

export const ENUM_RESOURCES = ([
    { content: Prefab, path: 'prefab', type: 'prefab', ratio: 0.5 },
    { content: AudioClip, path: 'audio', type: 'audio', ratio: 0.4 },
    { content: SpriteFrame, path: 'imgs', type: 'sprite', ratio: 0.1 }
])

